home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / awutil.zip / AWUTILS.DOC < prev    next >
Text File  |  1993-07-17  |  4KB  |  80 lines

  1. DOCUMENTATION for AWUTILS
  2.  
  3. All programs are (C)Copyright 1993, by Donald Reiher, but are freeware.
  4.  
  5. These Utilities are supplied by:
  6. Donald Reiher Computer Support, Newtown Square, PA
  7. Any support is via my BBS  215-356-7932 (24 hour) 
  8. Sorry, no voice support on freebies!
  9.  
  10. Here are some utilities which I desparately needed for a client
  11. and which I could not find help with.  For those who are experienced
  12. AL programmers, this code probably looks crude, but like I said,
  13. I could find no help with this, and I normally stay away from MASM.
  14.  
  15. These utilities have been tested on every machine available to me
  16. but there are no guarantees that they will work on every possible
  17. combination of hardware & TSR's.
  18.  
  19. AW.EXE
  20. The first program is AW.EXE.  This program checks to see if 
  21. PCAnywhere 4.5 AWHOST is running on a machine, and then returns
  22. a message and a DOS Errorlevel.  I use this for a batch file
  23. which displays one menu while AWHOST is running and another
  24. when it is not.  The user can immediately see the status of 
  25. AWHOST at the top of their batch file menu.  
  26. The Errorlevels are:
  27. 0 - AWHOST is not loaded
  28. 1 - AWHOST is loaded and is in wait, automatic or hot-key mode
  29.  
  30. AWZAP.EXE
  31. One of the handiest utilities in PCAnywhere III was the
  32. AWCANCEL program.  For some reason it was not included in
  33. PCAnywhere IV.
  34. This program performs a PCAnywhere host cancel from the DOS
  35. prompt.  It will not work while AWHOST is active, only while
  36. it is resident, and inactive.  It also returns DOS Errorlevels
  37. when exiting.  I use this on my AWHOST batch menu to cancel
  38. the program and return the workstation back to normal state,
  39. without having to manually unload AWHOST, and then reload the
  40. modem sharing software, and make the modem available for the whole
  41. network again.  Now the whole procedure is done with one menu call
  42. with a batch file.  
  43. The errorlevels are
  44. 0 - Success!
  45. 1 - AWZAP could not deallocate memory, probably due to a TSR loaded
  46.            after AWHOST.
  47. 2 - AWZAP could not restore all the interrupt vectors, probably
  48.            due to a TSR loaded after AWHOST.
  49. 3 - AWZAP could not unload PCAnywhere because it detected there
  50.            was an active connection. 
  51. 4 - AWHOST was not detected as being resident, no action taken.
  52.  
  53.  
  54. CHKMOD1,2,3,4.COM
  55. One of my clients switches a modem from one machine to the other
  56. when they go home at night, in order to fire up PCAnywhere from
  57. their workstation.  During the day, the same modem serves as
  58. one of the modems on a modem pool on a Netware Light file server.
  59. In the morning, they need to be reminded to flip the switch,
  60. and reload the modem sharing software.  This program is called
  61. in their batch file menu to remind them to do so.
  62. This will detect a modem that is plugged into the pc whether it
  63. is turned on or not!  If your switch is non-shorting, that is,
  64. all the pins are left open on the pc cable that is switched off,
  65. this should detect it.  If your switch does something
  66. fancy, then this program may not work.  
  67. These programs detect whether CD, RI, DSR, AND CTS are either ALL 
  68. OFF or ALL ON.  If your modem presently sits in one of those states
  69. normally (I can't see how) then the program will think there is no
  70. modem there.  For some reason, when my 16550AN uart which is hooked
  71. up to my turned off PPI14400fxsa, the computer sees CD, RI, DSR
  72. and CTS as all on.  When I yank the cable, the computer sees them 
  73. as all off.
  74. The Errorlevels are:
  75. 0 - No Modem connected to that port
  76. 1 - A Modem is connected to that port
  77. 2 - That port is not detected, no response at all on that port
  78.  
  79.  
  80.